package com.qitmiaojie.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @author miaojie
 * @version 1.0
 * @description TODO
 * @date 2023/3/10 21:05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class HealthDto {
    private Integer id;
    private String username;
    private String zhengzhuang;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime date;
    private String kangyuan;
    private String url;
    private String phone;
    private Integer recovery;
    private String sushe;
    private String fare;
}
